Amplitude\Analytics\WP\PLG\Amplitude A

Total Complexity 66
Dependencies 0
Dependents 0
Total lines 411
Lines of code 295
Logical lines of code 124
Comment lines 1
Methods 38
Properties 3

Methods 38

Method Rating Maintainability Complexity Lines of code
sanitize_settings()
S
53 7 21
register_settings()
S
55 3 21
load_amplitude_sdk()
S
50 2 31
_get_default_settings()
S
47 1 43
admin_menu()
S
57 2 20
load_applicable_banner()
S
67 3 7
load_admin_sdk()
S
68 3 6
get_instance()
S
67 2 9
load_styles()
S
73 2 5
on_amplitude_settings_page()
S
74 2 4
load_frontend_sdk()
S
65 2 9
admin_page()
S
70 2 6
handle_activation()
S
68 2 7
setup_settings()
S
68 2 7
get_settings_url()
S
72 2 5
session_replay_sample_rate_callback()
S
67 2 7
get_api_key()
S
72 2 5
get_session_replay_enabled()
S
72 2 5
get_server_zone_eu()
S
72 2 5
get_main_panel_enabled()
S
70 2 6
get_session_replay_sample_rate()
S
72 2 5
__wakeup()
S
98 1 1
__clone()
S
98 1 1
__construct()
S
98 1 1
setup_constants()
S
85 1 3
admin_hooks()
S
65 1 8
frontend_hooks()
S
79 1 3
load_general_page()
S
75 1 4
add_action_links()
S
70 1 6
get_option_name()
S
82 1 3
general_section_callback()
S
79 1 3
session_replay_section_callback()
S
79 1 3
session_replay_callback()
S
72 1 5
main_panel_callback()
S
72 1 5
server_zone_callback()
S
72 1 5
api_key_callback()
S
72 1 5
do_nothing()
S
89 1 2
get_settings()
S
78 1 3